package com.blrs.domain;

import com.blrs.common.annotation.Excel;
import com.blrs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 服务信息收藏对象 info_index_collection
 * 
 * @author ruoyi
 * @date 2024-08-07
 */
public class InfoIndexCollection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 服务信息id */
    @Excel(name = "服务信息id")
    private Long indexId;

    /** 归属于 */
    @Excel(name = "归属于")
    private Long orgId;

    /** 是否收藏 */
    @Excel(name = "是否收藏")
    private String isCollection;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setIndexId(Long indexId) 
    {
        this.indexId = indexId;
    }

    public Long getIndexId() 
    {
        return indexId;
    }
    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setIsCollection(String isCollection) 
    {
        this.isCollection = isCollection;
    }

    public String getIsCollection() 
    {
        return isCollection;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("indexId", getIndexId())
            .append("orgId", getOrgId())
            .append("isCollection", getIsCollection())
            .toString();
    }
}
